﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PRE.Danh_Muc
{
    public partial class FrmTacGia : Form
    {
        public FrmTacGia()
        {
            InitializeComponent();
        }

        DAL.EntitiesDAL.TacGiaDAL _dal = new DAL.EntitiesDAL.TacGiaDAL();
        DataTable _dt = new DataTable();

        private void FrmTacGia_Load(object sender, EventArgs e)
        {
            _dt = _dal.Select();


            if (_dt != null)
            {
                gridControl1.DataSource = _dt;
                //gridColumn2.BestFit(); // fit column                
            }

        }


    }
}
